@extends("layouts.master")
@section('title', '设置新密码')
@section("content")

<section>
<h2>设置新密码</h2>


	<% Form::open(array('action' => 'RemindersController@postReset')) %>
		<input type="hidden" name="token" value="<% $token %>">

		<div class="form-group">
			<% Form::label('email', '邮箱地址:') %>
			<% Form::email('email', null, array('class' => 'form-control')) %>
		</div>

		<div class="form-group">
			<% Form::label('password', '新密码:') %>
			<% Form::password('password', array('class' => 'form-control')) %>
		</div>

		<div class="form-group">
			<% Form::label('password_confirmation', '确认新密码:') %>
			<% Form::password('password_confirmation', array('class' => 'form-control')) %>
		</div>

		<div class="form-group">
			<% Form::submit('修改密码', array('class' => 'btn btn-primary')) %>
		</div>
	<% Form::close() %>

	@if (Session::has('error'))
		<p class="text-danger"><% Session::get('error') %></p>
	@endif
</section>
@stop